package me.zhengjie.sqlservice;

import com.baomidou.mybatisplus.extension.service.IService;
import me.zhengjie.pojo.entity.WcsLineBodyInbound;

public interface WcsLineBodyInboundService extends IService<WcsLineBodyInbound> {
    WcsLineBodyInbound selectOne();

    boolean updateOneWritePlc(String chainMachineStorage, int oneWritePlc);

    boolean updateTwoWritePlc(String chainMachineStorage, int twoWritePlc);

    boolean updateThreeWritePlc(String chainMachineStorage, int threeWritePlc);

    WcsLineBodyInbound selectStorageCode(String storage);

    boolean updateNgWritePlc(String chainMachineStorage, int ngWritePlc);

    boolean updateHoistRepairPlc(Integer wcsLineBodyId, int status);

    WcsLineBodyInbound selectHoistStorage(String hoistStorage);

    boolean updateHoistakePlc(Integer wcsLineBodyId, int status);

    WcsLineBodyInbound selectChainMachineStorage(String chainMachineStorage);

    WcsLineBodyInbound selectNgStorage(String ngStorage);

    WcsLineBodyInbound selectInbCtuStorage(String inbCtuStorage);

    boolean updateTaskIssueTime(Integer id);
}
